package com.zide.operate.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.zide.framework.config.mybatisplus.XianYingMapperPlus;
import com.zide.operate.domain.po.OperateSupport;
import com.zide.operate.domain.vo.search.OperateSupportSearchVO;
import org.apache.ibatis.annotations.Mapper;
import com.zide.common.core.domain.PageResult;

/**
 * 打赏支持Mapper接口
 * 
 * @author zide
 * @date 2024-05-07
 */
@Mapper
public interface OperateSupportMapper extends XianYingMapperPlus<OperateSupport> {

    default PageResult<OperateSupport> selectPage(OperateSupportSearchVO searchVO) {
        return selectPage(searchVO, new LambdaQueryWrapper<OperateSupport>().orderByDesc(OperateSupport::getId));
    }
}
